﻿using System;
using System.Collections.Generic;

namespace Lk.Model.Dto
{
    public class CoursesDto
    {

        /// <summary>
        ///  
        /// </summary>
        public Guid id { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        public string product_id { get; set; }

        /// <summary>
        ///  商品名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        ///  类别
        /// </summary>
        public string category_id { get; set; }

        /// <summary>
        ///  图片
        /// </summary>
        public string img { get; set; }
        /// <summary>
        /// 横图
        /// </summary>
        public string photo_heng { get; set; }
        /// <summary>
        /// 图集
        /// </summary>
        public string atlas { get; set; }

        /// <summary>
        /// 购买限制 
        /// </summary>
        public int? buy_limit { get; set; }

        /// <summary>
        /// 主图片 
        /// </summary>
        public string main_img { get; set; }

        /// <summary>
        ///  详情描述
        /// </summary>
        public string detail_html { get; set; }

        /// <summary>
        ///  备注
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 0下架 1上架 
        /// </summary>
        public bool? state { get; set; }

        public string sku_normterm_ids { get; set; }

        /// <summary>
        ///  创建时间
        /// </summary>
        public DateTime? create_time { get; set; }
        /// <summary>
        /// 最近观看时间
        /// </summary>
        public DateTime? last_study_time { get; set; }
        /// <summary>
        ///  更新时间
        /// </summary>
        public string update_time { get; set; }
        /// <summary>
        /// 视频名称
        /// </summary>
        public string file_name { get; set; }
        public List<CourseDetailDto> CourseDetailList { get; set; }
        public List<UserCoursesDto> UserCoursesList { get; set; }
        public List<VideoDto> Videos{ get; set; }
        public decimal total_price { get; set; }
        public decimal shop_price { get; set; }
        public decimal market_price { get; set; }

    }
}
